home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10095 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: usamrid.innovsoftd.com!news
  2. From: David Peterson <dpeterso@isd.net>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: VESA,DPMI,BORLAND 4.52 C++, AND INLINE ASSEMBLY
  5. Date: Thu, 14 Mar 1996 07:52:16 -0600
  6. Organization: Applied Systems, Inc.
  7. Message-ID: <31482490.4913@isd.net>
  8. References: <4i4khg$lsg@news.jhu.edu>
  9. NNTP-Posting-Host: pm-2-183.innovsoftd.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. AFRIEND@JHUADIG.ADMIN.JHU.EDU wrote:
  16. > Help. I am trying to issue VESA calls through the DPMI function 0300
  17. > using inline assembler. Particularly, I am issuing calls Getvesainfo and
  18. > Getmodeinfo both of which require passing an address for a buffer. The
  19. > problem is that the program is protected mode communicating through DPMI
  20. > with a real mode process.
  21. >  Does anyone have some advice or code that does this?
  22.  
  23. Allocate a chunck of lower memory and pass the address of it in your call.
  24.  
  25. I downloaded some code from Turbo Power Softwares BBS that did this for 
  26. Btrieve when running under DPMI.
  27.  
  28. Their BBS number is 719-260-9726.
  29.  
  30.  
  31.